import store from '@/store'

export const allow = {
  inserted(el, options) {
    // console.log(el, 'el')
    const points = store.state.user.userInfo.roles.points
    console.log(points)
    if (!points.includes(options.value)) {
      el.style.display = 'none'
    }
  }
}
